@SET TEMPLATEDIR="c:\program files\common files\microsoft shared\web server extensions\12\Template"
@set SPAdminTool="c:\program files\common files\microsoft shared\web server extensions\12\bin\stsadm.exe"
@SET GACUTIL="c:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe"

echo Copying the feature files...

xcopy /e /y /s /exclude:12\TEMPLATE\FEATURES\ 12\TEMPLATE\* %TEMPLATEDIR%

echo Adding assemblies to the GAC...
%GACUTIL% -uf SPGael.CustomFields.CustomRegularValidatorExpression
%GACUTIL% -if bin\Debug\SPGael.CustomFields.CustomRegularExpressionValidator.dll

echo Doing an iisreset...
rem iisreset

pause
